package com.myboot.demo.service.impl;

import com.myboot.demo.dao.SellerInfoRepository;
import com.myboot.demo.entity.SellerInfo;
import com.myboot.demo.service.SellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 韦溜溜
 * @Description:
 * @Date: Create in 13:14 2019/1/11
 */
@Service
public class SellerServiceImpl implements SellerService {

    @Autowired
    private SellerInfoRepository sellerInfoRepository;

    @Override
    public SellerInfo findSellerInfoByopenid(String openid) {
        return sellerInfoRepository.findByOpenid(openid);
    }
}
